﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Fetion.Core
{
    public class ReqCmdDic
    {
        private static Dictionary<string, int> cmdDic = null;
        static ReqCmdDic()
        {
            cmdDic = new Dictionary<string, int>();
            cmdDic.Add("Reg2V5ReqArgs", 10102);
        }
        //private static Dictionary<string, int> cmdDic = new Dictionary<string, int>();
        public static int GetCMD(string typeName)
        {
            if (cmdDic.ContainsKey(typeName))
            {
                return cmdDic[typeName];
            }
            else
            {
                return -1;
            }
        }
        public void AddCmd(string typeName,int code)
        { 

        }
    }
}
